package game;

import interfaces.IDrawer;
import interfaces.IHandler;
import interfaces.IMVC;

/**
 * Class, representing the MVC for the game
 * @author Home
 *
 */
public class GameMVC implements IMVC {

	private IHandler handler;
	private IDrawer drawer;

	public void setDrawer(IDrawer drawer) {
		if (drawer != null) {
			this.drawer = drawer;
		}
	}

	public void setHandler(IHandler handler) {
		if (handler != null) {
			this.handler = handler;
		}
	}

	@Override
	public IHandler getHandler() {

		return handler;

	}

	@Override
	public IDrawer getDrawer() {

		return drawer;

	}

	/*
	 * methods that are using both handler and drawer if there are such. Those
	 * who uses only one of them has to be in the appropriate class
	 */

}
